home *** CD-ROM | disk | FTP | other *** search
- #
- # Makefile for KA9Q TCP/IP package for PC clones with Turbo C
- #
- # switches:
- # define the ones you want in the CFLAGS definition...
- #
- # TRACE - turn on tracing/debugging code
- #
- # AMIGA - include Amiga specific code
- # MSDOS - include Messy-Dos specific code
- # UNIX - Use UNIX file format conventions
- # CPM - Use CP/M file format conventions
-
- #
- # CFLAGS for typical IBM-PC installation
- #
- CFLAGS= -a -d -f- -G -O -Z -DMSDOS
- MODEL=-ml
- # Assembler flags
- AFLAGS=-mx -t -DMEMMOD=LARGE
- all: net.exe
-
- .c.obj:
- tcc -c $(MODEL) $(CFLAGS) $*
-
- .asm.obj:
- tasm $(AFLAGS) $*;
-
- CLIENTS= telnet.obj ftpcli.obj finger.obj smtpcli.obj
-
- SERVERS= tnserv.obj ftpserv.obj smisc.obj smtpserv.obj fingerd.obj
-
- INTERNET= tcpcmd.obj tcpuser.obj tcptimer.obj tcpout.obj tcpin.obj tcpsubr.obj \
- udpcmd.obj udp.obj \
- domain.obj \
- ipcmd.obj ip.obj iproute.obj \
- icmpcmd.obj icmp.obj icmpmsg.obj \
- arpcmd.obj arp.obj \
- netuser.obj
-
- AX25= ax25cmd.obj ax_mbx.obj ax25user.obj ax25.obj lapbtime.obj lapb.obj \
- kiss.obj ax25subr.obj
-
- NETROM= nrcmd.obj nr4user.obj nr4timer.obj nr4.obj nr4subr.obj \
- nr3.obj nrs.obj nrsubr.obj
-
- NET= ftpsubr.obj socket.obj asy.obj slip.obj \
- iface.obj timer.obj ttydriv.obj cmdparse.obj mbuf.obj \
- misc.obj pathname.obj audit.obj files.obj \
- kernel.obj ksubr.obj alloc.obj getopt.obj
-
- DUMP= trace.obj enetdump.obj \
- kissdump.obj ax25dump.obj arpdump.obj nrdump.obj \
- ipdump.obj icmpdump.obj udpdump.obj tcpdump.obj
-
- PCOBJS= pc.obj dirutil.obj eccmd.obj ec.obj pktdrvr.obj enet.obj hapn.obj \
- hs.obj pc100.obj eagle.obj \
- 8530.obj 8250.obj ecvec.obj pkvec.obj asyvec.obj hsvec.obj \
- pc100vec.obj eaglevec.obj hapnvec.obj \
- pcgen.obj
-
- mkdep.exe: mkdep.c
- tcc mkdep.c
- del mkdep.obj
-
- net.exe: main.obj config.obj version.obj session.obj clients.lib servers.lib internet.lib \
- net.lib netrom.lib ax25.lib pc.lib dump.lib
- tcc $(MODEL) -M -y -enet main.obj config.obj version.obj session.obj *.lib
-
- apptest.exe: apptest.obj appint.obj external.h
- tcc -ml -O -Z -M -y apptest.obj appint.obj
-
- apptest.obj: apptest.c appint.h
- tcc -c -ml -O -Z -M -y apptest.c
-
- appint.obj: appint.c external.h
- tcc -c -ml -O -Z -M -y appint.c
-
- clients.lib: $(CLIENTS) clients.tl
- del clients.lib
- tlib /c clients.lib @clients.tl
-
- servers.lib: $(SERVERS) servers.tl
- del servers.lib
- tlib /c servers.lib @servers.tl
-
- internet.lib: $(INTERNET) internet.tl
- del internet.lib
- tlib /c internet.lib @internet.tl
-
- ax25.lib: $(AX25) ax25.tl
- del ax25.lib
- tlib /c ax25.lib @ax25.tl
-
- netrom.lib: $(NETROM) netrom.tl
- del netrom.lib
- tlib /c netrom.lib @netrom.tl
-
- net.lib: $(NET) net.tl
- del net.lib
- tlib /c net.lib @net.tl
-
- dump.lib: $(DUMP) dump.tl
- del dump.lib
- tlib /c dump.lib @dump.tl
-
- pc.lib: $(PCOBJS) pc.tl
- del pc.lib
- tlib /c pc.lib @pc.tl
-
- clean: nul
- del *.lib
- del *.obj
- del *.exe
- del *.sym
-
- #make begin says to start from the beginning.
- begin: clean
- tcc -c $(CFLAGS) $(MODEL) *.c
- tasm $(AFLAGS) *.asm
-
- # this section generated by mkdep
- 8250.obj: 8250.c global.h iface.h asy.h pc.h slip.h proc.h 8250.h
- alloc.obj: alloc.c global.h proc.h
- arp.obj: arp.c global.h mbuf.h timer.h iface.h enet.h ax25.h icmp.h ip.h arp.h icmp.h
- arpcmd.obj: arpcmd.c global.h mbuf.h timer.h enet.h ax25.h arp.h netuser.h cmdparse.h commands.h
- arpdump.obj: arpdump.c global.h mbuf.h timer.h arp.h netuser.h
- asy.obj: asy.c global.h iface.h asy.h ax25.h kiss.h slip.h nrs.h config.h proc.h commands.h
- audit.obj: audit.c global.h mbuf.h
- ax25.obj: ax25.c global.h mbuf.h iface.h timer.h arp.h slip.h ax25.h lapb.h netrom.h ip.h
- ax25cmd.obj: ax25cmd.c global.h mbuf.h timer.h proc.h iface.h ax25.h lapb.h cmdparse.h socket.h ax25tnc.h ax_mbx.h session.h tty.h nr4.h commands.h
- ax25dump.obj: ax25dump.c global.h mbuf.h ax25.h timer.h lapb.h trace.h socket.h
- ax25subr.obj: ax25subr.c global.h mbuf.h timer.h ax25.h lapb.h
- ax25user.obj: ax25user.c global.h mbuf.h timer.h iface.h lapb.h ax25.h lapb.h
- ax_mbx.obj: ax_mbx.c global.h ax_mbx.h cmdparse.h proc.h socket.h usock.h ax25.h smtp.h
- cmdparse.obj: cmdparse.c global.h cmdparse.h proc.h
- config.obj: config.c global.h mbuf.h proc.h cmdparse.h config.h daemon.h timer.h iface.h usock.h kiss.h enet.h ax25.h netrom.h ip.h tcp.h udp.h commands.h trace.h
- dirutil.obj: dirutil.c global.h dirutil.h commands.h
- domain.obj: domain.c global.h mbuf.h timer.h netuser.h socket.h cmdparse.h proc.h domain.h commands.h
- drreset.obj: drreset.c global.h 8530.h
- drtest.obj: drtest.c 8530.h
- eagle.obj: eagle.c global.h mbuf.h iface.h eagle.h 8530.h ax25.h trace.h pc.h
- ec.obj: ec.c global.h mbuf.h enet.h iface.h ec.h timer.h arp.h trace.h pc.h
- eccmd.obj: eccmd.c global.h mbuf.h iface.h ec.h enet.h
- enet.obj: enet.c global.h mbuf.h iface.h timer.h arp.h ip.h enet.h
- enetdump.obj: enetdump.c global.h mbuf.h enet.h trace.h
- files.obj: files.c global.h
- finger.obj: finger.c global.h mbuf.h socket.h session.h proc.h netuser.h
- fingerd.obj: fingerd.c global.h mbuf.h socket.h session.h proc.h dirutil.h
- ftpcli.obj: ftpcli.c global.h mbuf.h session.h cmdparse.h timer.h proc.h tty.h socket.h ftp.h ftpcli.h commands.h netuser.h
- ftpserv.obj: ftpserv.c global.h mbuf.h socket.h ftp.h ftpserv.h proc.h dirutil.h
- ftpsubr.obj: ftpsubr.c global.h mbuf.h socket.h ftp.h
- getopt.obj: getopt.c
- hapn.obj: hapn.c global.h timer.h mbuf.h iface.h hapn.h ax25.h trace.h pc.h proc.h
- hs.obj: hs.c global.h mbuf.h iface.h hs.h 8530.h ax25.h trace.h pc.h proc.h
- icmp.obj: icmp.c global.h mbuf.h internet.h timer.h iface.h ip.h icmp.h netuser.h tcp.h
- icmpcmd.obj: icmpcmd.c global.h icmp.h mbuf.h netuser.h internet.h timer.h socket.h proc.h session.h cmdparse.h commands.h
- icmpdump.obj: icmpdump.c global.h mbuf.h internet.h icmp.h trace.h ip.h
- icmpmsg.obj: icmpmsg.c global.h
- iface.obj: iface.c global.h iface.h
- ip.obj: ip.c global.h config.h mbuf.h timer.h internet.h iface.h ip.h icmp.h tcp.h udp.h
- ipcmd.obj: ipcmd.c global.h mbuf.h internet.h timer.h netuser.h iface.h ip.h cmdparse.h commands.h
- ipdump.obj: ipdump.c global.h mbuf.h internet.h timer.h iface.h ip.h trace.h netuser.h
- iproute.obj: iproute.c global.h mbuf.h internet.h timer.h netuser.h ip.h icmp.h iface.h trace.h
- kernel.obj: kernel.c global.h mbuf.h proc.h timer.h socket.h pc.h
- kiss.obj: kiss.c global.h mbuf.h iface.h kiss.h slip.h ax25.h
- kissdump.obj: kissdump.c global.h mbuf.h kiss.h ax25.h trace.h
- ksubr.obj: ksubr.c global.h proc.h pc.h commands.h
- lapb.obj: lapb.c global.h mbuf.h timer.h ax25.h lapb.h ip.h netrom.h
- lapbtime.obj: lapbtime.c global.h mbuf.h ax25.h timer.h lapb.h
- lcsum.obj: lcsum.c global.h ip.h
- main.obj: main.c global.h mbuf.h socket.h iface.h ftpcli.h telnet.h ax25tnc.h remote.h session.h cmdparse.h ax25.h kiss.h enet.h timer.h proc.h tty.h daemon.h usock.h netrom.h ip.h tcp.h udp.h pc.h commands.h
- mbuf.obj: mbuf.c global.h mbuf.h proc.h
- misc.obj: misc.c global.h socket.h
- mkdep.obj: mkdep.c
- netuser.obj: netuser.c global.h netuser.h
- nr3.obj: nr3.c global.h mbuf.h iface.h timer.h arp.h slip.h ax25.h netrom.h nr4.h lapb.h socket.h trace.h ip.h
- nr4.obj: nr4.c global.h mbuf.h timer.h ax25.h lapb.h netrom.h nr4.h
- nr4subr.obj: nr4subr.c global.h mbuf.h timer.h ax25.h netrom.h nr4.h lapb.h
- nr4timer.obj: nr4timer.c global.h mbuf.h timer.h ax25.h lapb.h netrom.h nr4.h
- nr4user.obj: nr4user.c global.h mbuf.h timer.h ax25.h lapb.h netrom.h nr4.h
- nrcmd.obj: nrcmd.c global.h mbuf.h ax25.h ax_mbx.h netrom.h nr4.h timer.h iface.h lapb.h cmdparse.h session.h socket.h commands.h
- nrdump.obj: nrdump.c global.h mbuf.h netrom.h trace.h
- nrs.obj: nrs.c global.h mbuf.h iface.h ax25.h nrs.h asy.h trace.h
- nrsubr.obj: nrsubr.c global.h mbuf.h timer.h ax25.h netrom.h lapb.h
- pathname.obj: pathname.c global.h dirutil.h
- pc.obj: pc.c global.h mbuf.h internet.h iface.h cmdparse.h pc.h proc.h
- pc100.obj: pc100.c global.h mbuf.h iface.h pc100.h 8530.h ax25.h trace.h pc.h
- pktdrvr.obj: pktdrvr.c global.h proc.h mbuf.h enet.h ax25.h slip.h kiss.h iface.h ec.h timer.h arp.h trace.h pktdrvr.h config.h
- sendfax.obj: sendfax.c global.h smtp.h
- session.obj: session.c global.h config.h mbuf.h socket.h ftpcli.h telnet.h icmp.h ax25tnc.h session.h cmdparse.h timer.h proc.h tty.h commands.h
- slip.obj: slip.c global.h mbuf.h iface.h ax25.h slip.h asy.h trace.h
- smisc.obj: smisc.c global.h mbuf.h socket.h proc.h remote.h smtp.h tcp.h pc.h
- smtpcli.obj: smtpcli.c global.h mbuf.h cmdparse.h proc.h socket.h timer.h netuser.h smtp.h dirutil.h
- smtpserv.obj: smtpserv.c global.h mbuf.h cmdparse.h socket.h proc.h smtp.h
- socket.obj: socket.c global.h mbuf.h netuser.h timer.h iface.h ip.h tcp.h udp.h ax25.h lapb.h netrom.h nr4.h proc.h usock.h socket.h config.h
- tcpcmd.obj: tcpcmd.c global.h timer.h mbuf.h netuser.h internet.h tcp.h cmdparse.h commands.h
- tcpdump.obj: tcpdump.c global.h mbuf.h netuser.h internet.h timer.h tcp.h ip.h trace.h
- tcpin.obj: tcpin.c global.h timer.h mbuf.h netuser.h internet.h tcp.h icmp.h iface.h ip.h
- tcpout.obj: tcpout.c global.h timer.h mbuf.h netuser.h internet.h tcp.h ip.h
- tcpsubr.obj: tcpsubr.c global.h timer.h mbuf.h netuser.h internet.h tcp.h ip.h
- tcptimer.obj: tcptimer.c global.h mbuf.h timer.h netuser.h internet.h tcp.h
- tcpuser.obj: tcpuser.c global.h timer.h mbuf.h netuser.h socket.h internet.h tcp.h ip.h icmp.h proc.h
- telnet.obj: telnet.c global.h mbuf.h socket.h telnet.h session.h proc.h tty.h commands.h netuser.h
- timer.obj: timer.c global.h timer.h proc.h pc.h
- tnserv.obj: tnserv.c global.h mbuf.h socket.h telnet.h session.h proc.h tty.h commands.h
- trace.obj: trace.c global.h mbuf.h iface.h trace.h
- ttydriv.obj: ttydriv.c global.h mbuf.h tty.h
- udp.obj: udp.c global.h mbuf.h netuser.h udp.h ip.h internet.h icmp.h
- udpcmd.obj: udpcmd.c global.h mbuf.h netuser.h udp.h internet.h cmdparse.h commands.h
- udpdump.obj: udpdump.c global.h mbuf.h netuser.h internet.h udp.h ip.h
- version.obj: version.c
-